package behavioralPattern.templateMethod.example01;

public class Client {
    public static void main(String[] args) {
        AbstractTemplate classA = new ConcreteClassA();

        classA.run("x");
        System.out.println("===================");
        classA.run("123");

        System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<");
        AbstractTemplate classB = new ConcreteClassB();

        classB.run("x");
        System.out.println("===================");
        classB.run("123");
    }
}
